﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001207 RID: 4615
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class StartBoxingClubBattleCsReq : IMessage<StartBoxingClubBattleCsReq>, IMessage, IEquatable<StartBoxingClubBattleCsReq>, IDeepCloneable<StartBoxingClubBattleCsReq>, IBufferMessage
	{
		// Token: 0x17003A72 RID: 14962
		// (get) Token: 0x0600CEC8 RID: 52936 RVA: 0x0022CD30 File Offset: 0x0022AF30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<StartBoxingClubBattleCsReq> Parser
		{
			get
			{
				return StartBoxingClubBattleCsReq._parser;
			}
		}

		// Token: 0x17003A73 RID: 14963
		// (get) Token: 0x0600CEC9 RID: 52937 RVA: 0x0022CD37 File Offset: 0x0022AF37
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return StartBoxingClubBattleCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003A74 RID: 14964
		// (get) Token: 0x0600CECA RID: 52938 RVA: 0x0022CD49 File Offset: 0x0022AF49
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return StartBoxingClubBattleCsReq.Descriptor;
			}
		}

		// Token: 0x0600CECB RID: 52939 RVA: 0x0022CD50 File Offset: 0x0022AF50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartBoxingClubBattleCsReq()
		{
		}

		// Token: 0x0600CECC RID: 52940 RVA: 0x0022CD58 File Offset: 0x0022AF58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartBoxingClubBattleCsReq(StartBoxingClubBattleCsReq other) : this()
		{
			this.challengeId_ = other.challengeId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600CECD RID: 52941 RVA: 0x0022CD7D File Offset: 0x0022AF7D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartBoxingClubBattleCsReq Clone()
		{
			return new StartBoxingClubBattleCsReq(this);
		}

		// Token: 0x17003A75 RID: 14965
		// (get) Token: 0x0600CECE RID: 52942 RVA: 0x0022CD85 File Offset: 0x0022AF85
		// (set) Token: 0x0600CECF RID: 52943 RVA: 0x0022CD8D File Offset: 0x0022AF8D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ChallengeId
		{
			get
			{
				return this.challengeId_;
			}
			set
			{
				this.challengeId_ = value;
			}
		}

		// Token: 0x0600CED0 RID: 52944 RVA: 0x0022CD96 File Offset: 0x0022AF96
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as StartBoxingClubBattleCsReq);
		}

		// Token: 0x0600CED1 RID: 52945 RVA: 0x0022CDA4 File Offset: 0x0022AFA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(StartBoxingClubBattleCsReq other)
		{
			return other != null && (other == this || (this.ChallengeId == other.ChallengeId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600CED2 RID: 52946 RVA: 0x0022CDD4 File Offset: 0x0022AFD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ChallengeId != 0U)
			{
				num ^= this.ChallengeId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600CED3 RID: 52947 RVA: 0x0022CE13 File Offset: 0x0022B013
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600CED4 RID: 52948 RVA: 0x0022CE1B File Offset: 0x0022B01B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600CED5 RID: 52949 RVA: 0x0022CE24 File Offset: 0x0022B024
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ChallengeId != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.ChallengeId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600CED6 RID: 52950 RVA: 0x0022CE58 File Offset: 0x0022B058
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ChallengeId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ChallengeId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600CED7 RID: 52951 RVA: 0x0022CE96 File Offset: 0x0022B096
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(StartBoxingClubBattleCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ChallengeId != 0U)
			{
				this.ChallengeId = other.ChallengeId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600CED8 RID: 52952 RVA: 0x0022CEC7 File Offset: 0x0022B0C7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600CED9 RID: 52953 RVA: 0x0022CED0 File Offset: 0x0022B0D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.ChallengeId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040052E4 RID: 21220
		private static readonly MessageParser<StartBoxingClubBattleCsReq> _parser = new MessageParser<StartBoxingClubBattleCsReq>(() => new StartBoxingClubBattleCsReq());

		// Token: 0x040052E5 RID: 21221
		private UnknownFieldSet _unknownFields;

		// Token: 0x040052E6 RID: 21222
		public const int ChallengeIdFieldNumber = 6;

		// Token: 0x040052E7 RID: 21223
		private uint challengeId_;
	}
}
